//help instructions go here







function HelpMenu( ply ) --Start the function
		
		
		
local HelpFrame = vgui.Create("DFrame")
      HelpFrame:SetPos(ScrW()/2,ScrH()/2)
      HelpFrame:SetSize(610,375)
      HelpFrame:SetTitle("Help Menu")
      HelpFrame:MakePopup()
	
local PropertySheet = vgui.Create( "DPropertySheet" )
	PropertySheet:SetParent( HelpFrame )
	PropertySheet:SetPos( 5, 30 )
	PropertySheet:SetSize( 600, 340 )
	
	
	
 -- help tab's
local USRPHelp = vgui.Create( "DPanel", HelpFrame )
USRPHelp:SetPos( 25, 50 )
USRPHelp:SetSize( 250, 250 )
USRPHelp.Paint = function() -- Paint function
    surface.SetDrawColor( 255, 255, 255, 255 ) -- Set our rect color below us; we do this so you can see items added to this panel
    surface.DrawRect( 0, 0, PropertySheet:GetWide(), PropertySheet:GetTall() ) -- Draw the rect
end
	
local ShipHelp = vgui.Create( "DPanel", HelpFrame )
ShipHelp:SetPos( 25, 50 )
ShipHelp:SetSize( 250, 250 )
ShipHelp.Paint = function() -- Paint function
    surface.SetDrawColor( 255, 255, 255, 255 ) -- Set our rect color below us; we do this so you can see items added to this panel
    surface.DrawRect( 0, 0, PropertySheet:GetWide(), PropertySheet:GetTall() ) -- Draw the rect
end

local MinerHelp = vgui.Create( "DPanel", HelpFrame )
MinerHelp:SetPos( 25, 50 )
MinerHelp:SetSize( 250, 250 )
MinerHelp.Paint = function() -- Paint function
    surface.SetDrawColor( 255, 255, 255, 255 ) -- Set our rect color below us; we do this so you can see items added to this panel
    surface.DrawRect( 0, 0, PropertySheet:GetWide(), PropertySheet:GetTall() ) -- Draw the rect
end

local WorkerHelp = vgui.Create( "DPanel", HelpFrame )
WorkerHelp:SetPos( 25, 50 )
WorkerHelp:SetSize( 250, 250 )
WorkerHelp.Paint = function() -- Paint function
    surface.SetDrawColor( 255, 255, 255, 255 ) -- Set our rect color below us; we do this so you can see items added to this panel
    surface.DrawRect( 0, 0, PropertySheet:GetWide(), PropertySheet:GetTall() ) -- Draw the rect
end

local BuilderHelp = vgui.Create( "DPanel", HelpFrame )
BuilderHelp:SetPos( 25, 50 )
BuilderHelp:SetSize( 250, 250 )
BuilderHelp.Paint = function() -- Paint function
    surface.SetDrawColor( 255, 255, 255, 255 ) -- Set our rect color below us; we do this so you can see items added to this panel
    surface.DrawRect( 0, 0, PropertySheet:GetWide(), PropertySheet:GetTall() ) -- Draw the rect
end




-- help page text's
local USRPT = vgui.Create("DLabel",USRPHelp)

    USRPT:SetText ("Like we need some general help here!!")
	USRPT:SizeToContents()
    USRPT:SetPos(5,10)
 
local ShipHelpT = vgui.Create("DLabel",ShipHelp)

    ShipHelpT:SetText ("Like we need some ship help here!!")
	ShipHelpT:SizeToContents()
    ShipHelpT:SetPos(5,10)

local MinerHelpT = vgui.Create("DLabel",MinerHelp)

    MinerHelpT:SetText (
	"Like we need some miner help here!!"
	)
	MinerHelpT:SizeToContents()
    MinerHelpT:SetPos(5,10)
	
local WorkerHelpT = vgui.Create("DLabel",WorkerHelp)

    WorkerHelpT:SetText (
	"Like we need some worker help here!!"
	)
	WorkerHelpT:SizeToContents()
    WorkerHelpT:SetPos(5,10)
	
local BuilderHelpT = vgui.Create("DLabel",BuilderHelp)

    BuilderHelpT:SetText (
	"Like we need some builder help here!!"
	)
	BuilderHelpT:SizeToContents()
    BuilderHelpT:SetPos(5,10)
	

	
	
	
	
PropertySheet:AddSheet( "USRP Help", USRPHelp, "gui/silkicons/user", false, false, "General help on Unknown Space RP." )
PropertySheet:AddSheet( "Ship Help", ShipHelp, "gui/silkicons/group", false, false, "Help on how to build ships." )
PropertySheet:AddSheet( "Miner Help", MinerHelp, "gui/silkicons/user", false, false, "Help on how to build ships." )
PropertySheet:AddSheet( "Worker Help", WorkerHelp, "gui/silkicons/user", false, false, "Help on how to build ships." )
PropertySheet:AddSheet( "Builder Help", BuilderHelp, "gui/silkicons/user", false, false, "Help on how to build ships." )


end 

--usermessage.Hook("HelpMenu", HelpMenu)
